using System;
using System.Collections.Generic;
using System.Text;
using NBusiness.CodeDom;

namespace NBusiness.Data.Validation
{
    [Serializable]
    public class MaxValueEventArgs : ValidationEventArgs
    {
        private IComparable _value;
        [ExpectedArgumentProperty(ConverstionType=typeof(double))]
        public IComparable Value
        {
            get { return _value; }
        }

        public MaxValueEventArgs(IComparable value)
        {
            _value = value;
        }
    }
}
